<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
        content="width=device-width, initial-scale=1.0">
<meta name="HandheldFriendly" content="true">
<title>Sample</title>
<style>
body {
	font-family: 微软雅黑, 'Microsoft YaHei', \5FAE\8F6F\96C5\9ED1, sans-serif;
}
</style>
</head>
<body>
<script type="text/javascript">
// 创建同步数据库
function creationCallback(database){
	database.changeVersion(database.version, "1.0"); // 改变版本号
}
var db = openDatabaseSync('mydb', '',
                               '我的第一个客户端数据库',
                               2 * 1024 * 1024,
                               creationCallback);
</script>
</body>
</html>
